<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="./js/jquery-1.12.4.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <link rel="stylesheet" href="./css/index.css">
    <title>bootstrap响应式</title>
</head>
<body>
    <div class="navbar navbar-inverse navbar-static-top my-header">
        <div class="container">
            <!-- 非折叠区 -->
            <div class="navbar-header">
                <a href="#" class="logo navbar-brand"><img class="logo-pic" src="./img/logo.png" alt=""></a>
                <i class="navbar-toggle" data-toggle="collapse" data-target="#mymenu"></i>
            </div>
            <!-- 折叠区 -->
            <div class="collapse navbar-collapse" id="mymenu">
                    <ul class="nav navbar-nav">
                        <li><a href="#">MAC</a></li> 
                        <li><a href="#">iPad</a></li> 
                        <li><a href="#">iPhone</a></li> 
                        <li><a href="#">Watch</a></li> 
                        <li><a href="#">Music</a></li> 
                        <li><a href="#">技术支持</a></li> 
                    </ul>
                    <form class="navbar-form navbar-right">
                        <div class="form-group">
                            <div class="input-group">
                                <input type="text" name="" class="form-control">
                                <span class="input-group-btn">
                                    <button class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>	
                                </span>
                            </div>
                        </div>
                    </form>
            </div>
        </div>
    </div>
</body>
</html>